package iot.wlink.network.devices.model.sub;

import iot.wlink.network.devices.model.enums.EventTypeEm;
import iot.wlink.network.devices.model.sub.atom.ValueProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : willian fu
 * @date : 2021/8/20
 * 事件
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Event {

    //事件id
    private String symbol;

    //事件名称
    private String name;

    //事件类型
    private EventTypeEm type;

    //事件描述
    private String desc;

    //是否子设备必须
    private Boolean required;

    //返回值
    private List<ValueProperties> outputs;

}
